# -*- coding:utf-8 -*-
# created by jinss

f = open("seek_write", mode="w",encoding="utf-8")
# f.seek(12)
f.write("hello1\n")
f.write("hello2\n")
print("返回光标当前位置", f.tell())
f.write("hello3\n")
print("返回光标当前位置", f.tell())
f.seek(16)
f.write("------")
# print(f.readline())